

import scrapy
from scrapy_splash import SplashRequest

class Spider(scrapy.Spider):
    name = 'recipeImg'
    allowed_domains = []
    start_urls = ['http://www.quanjing.com/search.aspx?q=%E9%BA%BB%E5%A9%86%E8%B1%86%E8%85%90||1|60|1|2||||#%E9%BA%BB%E5%A9%86%E8%B1%86%E8%85%90||1|100|1|2||||']

    def start_requests(self):
        for url in self.start_urls:
            yield SplashRequest(url=url, callback=self.parse,
                                args={'wait':1}, endpoint='render.html')

    def parse(self, response):
        titele = response.xpath('//*[@id="gallery-list"]/li[*]/a/img/@src').extract()
        print(" @@@@  DATA @@@@")
        print(' DATAS：', titele)
        print(" @@@@  DATA @@@@")






